home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmAddProtocolCallback.z / XmAddProtocolCallback
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk - A VendorShell function that adds
  10.           client callbacks for a protocol
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Protocols.h>
  14.           vvvvooooiiiidddd XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(
  15.           WWWWiiiiddddggggeeeetttt sssshhhheeeellllllll,
  16.           AAAAttttoooommmm pppprrrrooooppppeeeerrrrttttyyyy,
  17.           AAAAttttoooommmm pppprrrroooottttooooccccoooollll,
  18.           XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc ccccaaaallllllllbbbbaaaacccckkkk,
  19.           XXXXttttPPPPooooiiiinnnntttteeeerrrr cccclllloooossssuuuurrrreeee);
  20.  
  21.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  22.           This page documents Motif 2.1.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk adds client callbacks for a protocol.
  26.           It checks if the protocol is registered, and if it is not,
  27.           calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss. It then adds the callback to the
  28.           internal list. These callbacks are called when the
  29.           corresponding client message is received.
  30.  
  31.           XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk is a convenience interface.  It
  32.           calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkkwith the property value set to
  33.           the atom returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
  34.  
  35.           _s_h_e_l_l     Specifies the widget with which the protocol
  36.                     property is associated
  37.  
  38.           _p_r_o_p_e_r_t_y  Specifies the protocol property
  39.  
  40.           _p_r_o_t_o_c_o_l  Specifies the protocol AAAAttttoooommmm
  41.  
  42.           _c_a_l_l_b_a_c_k  Specifies the procedure to call when a protocol
  43.                     message is received
  44.  
  45.           _c_l_o_s_u_r_e   Specifies the client data to be passed to the
  46.                     callback when it is invoked
  47.  
  48.           For a complete definition of VendorShell and its associated
  49.           resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3).
  50.  
  51.      RRRREEEELLLLAAAATTTTEEEEDDDD
  52.           VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3), XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(3), XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm(3),
  53.           and XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(3).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.